package com.prs.crm.context;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class Constrains {
	// 附件根目录
	public static String UPLOAD_DIR = "/uploadfiles/";
	/** 盘点 **/
	public static String UPLOAD_DIR_INVENTORY=UPLOAD_DIR+"inventory/";
	/** 采购单**/
	public static String UPLOAD_DIR_PURCHASE=UPLOAD_DIR+"purchase/";
	/**订单**/
	public static String UPLOAD_DIR_PURCHASEORDER=UPLOAD_DIR+"purchaseOrder";
	/**合同**/
	public static String UPLOAD_DIR_SALECONTRACT=UPLOAD_DIR+"salecontract";
	/** 简历 **/
	public static String UPLOAD_DIR_RESUME = UPLOAD_DIR + "resume/";
	/** 公告 **/
	public static String UPLOAD_DIR_AFFICHE = UPLOAD_DIR + "affiche/";
	/** 通知 **/
	public static String UPLOAD_DIR_NOTICE = UPLOAD_DIR + "notice/";
	/** 客户 **/
	public static String UPLOAD_DIR_CUSTOMER = UPLOAD_DIR + "customer/";
	/** 联系人 **/
	public static String UPLOAD_DIR_LINKMAN = UPLOAD_DIR + "linkman/";
	/** 联络管理 **/
	public static String UPLOAD_DIR_LIAISON = UPLOAD_DIR + "liaison/";
	/** 会议 **/
	public static String UPLOAD_DIR_SYNOD = UPLOAD_DIR + "synod/";
	/** 知识 **/
	public static String UPLOAD_DIR_KNOWLEDGE = UPLOAD_DIR + "knowledge/";
	/** 规章制度 **/
	public static String UPLOAD_DIR_REGULATION = UPLOAD_DIR + "regulation/";
	/** 工作日程 **/
	public static String UPLOAD_DIR_SCHEDULE = UPLOAD_DIR + "schedule/";
	/** 会议发起 **/
	public static String UPLOAD_DIR_MEETSTART = UPLOAD_DIR + "meetStart/";
	/** 知识管理 **/
	public static String UPLOAD_DIR_DOCUMENT = UPLOAD_DIR + "document/";
	/** 下载中心 **/
	public static String UPLOAD_DIR_UPLOADDOC = UPLOAD_DIR + "uploadDoc/";
	/** 规章制度 **/
	public static String UPLOAD_DIR_RULE = UPLOAD_DIR + "rule/";
	/** 电子期刊 **/
	public static String UPLOAD_DIR_ELECTRON = UPLOAD_DIR + "electron/";
	/** 网络硬盘 **/
	public static String UPLOAD_DIR_NETWORK = UPLOAD_DIR + "netWork/";
	/** 车辆登记 **/
	public static String UPLOAD_DIR_VEHICLET = UPLOAD_DIR + "vehicle/";
	/** 会议纪要 **/
	public static String UPLOAD_DIR_MEETSUMMARY = UPLOAD_DIR + "meetSummary/";
	/** 工作任务 **/
	public static String UPLOAD_DIR_TASK = UPLOAD_DIR + "task/";
	/** 人员调动 **/
	public static String UPLOAD_DIC_REDEPLOY = UPLOAD_DIR + "redeploy/";
	/** 申请 **/
	public static String UPLOAD_DIC_APPLY = UPLOAD_DIR + "apply/";
	/** 培训 **/
	public static String UPLOAD_DIC_TRAIN = UPLOAD_DIR + "train/";
	/** 工作总结 **/
	public static String UPLOAD_DIC_WORKSUMMARY = UPLOAD_DIR + "worksummary/";
	/** 请假**/
	public static String UPLOAD_DIC_LEAVE = UPLOAD_DIR + "leave/";
	/**文档**/
	public static String UPLOAD_DIR_DOC = UPLOAD_DIR + "doc/";
	/** 临时目录 **/
	public static String UPLOAD_DIR_TEMP = UPLOAD_DIR + "temp/";
	/** 其他事务 **/
	public static String UPLOAD_DIR_OTHERSTHINGS=UPLOAD_DIR+"othersThings/"; 
	
	/** 项目状态---编辑 **/
	public static String PM_STATE_EDIT = "-1";
	/** 项目状态---初始化 **/
	public static String PM_STATE_INIT = "0";
	/** 项目状态---启动 **/
	public static String PM_STATE_START = "1"; 
	
	/** 项目阶段类型---无 **/
	public static String PM_STAGE_NONE = "-1";
	/** 项目阶段类型---完成开始**/
	public static String PM_STAGE_FS = "0";
	/** 项目阶段类型---开始开始 **/
	public static String PM_STAGE_SS = "1";
	/** 项目阶段类型---完成完成 **/
	public static String PM_STAGE_FF = "2";
	/** 项目阶段类型---开始完成 **/
	public static String PM_STAGE_SF = "3";
	
	/**财务系统名目---直接入账**/
	public static String FS_ITEMS_DIRECTENTRY = "直接入账";
	/**财务系统名目---帐间转账**/
	public static String FS_ITEMS_TRANSFER= "帐间转账";
	/**财务系统名目---工资结算**/
	public static String FS_ITEMS_SALARYSETTLE= "工资结算";
	/**财务系统名目---费用使用**/
	public static String FS_ITEMS_USEOUTLAY= "费用使用";	
	/**财务系统名目---费用返还**/
	public static String FS_ITEMS_OUTLAYRETURN= "费用返还";
	/**财务系统名目---费用申请**/
	public static String FS_ITEMS_OUTLAYAPPLY= "费用申请";
	/**财务系统名目---销售入账**/
	public static String FS_ITEMS_SALES= "销售入账";
	/**财务系统名目---采购入账**/
	public static String FS_ITEMS_PURCHASE= "采购入账";
	/**财务系统名目---采购退货入账**/
	public static String FS_ITEMS_PURCHASERETURNED= "采购退货入账";
	/**财务系统名目---销售退货入账**/
	public static String FS_ITEMS_SALESRETURNED= "销售退货入账";
	/**财务系统名目---询价状态**/
	public static int INQUIRY_STATE= 2;
	/**财务-费用返还标志--未返还**/
	public static String FS_FLAG_NOTRETURN = "0";
	/**财务-费用返还标志--已返还**/
	public static String FS_FLAG_RETURN = "1";
	
	/**财务-会计科目类型--资产**/
	public static String ACCT_MOLD_ASSETS = "资产";
	/**财务-会计科目类型--负债**/
	public static String ACCT_MOLD_LIABILITIES = "负债";
	/**财务-会计科目类型--权益**/
	public static String ACCT_MOLD_EQUITIES = "权益";
	/**财务-会计科目类型--成本**/
	public static String ACCT_MOLD_COST = "成本";
	/**财务-会计科目类型--损益**/
	public static String ACCT_MOLD_PROFITANDLOSS = "损益";
	
	/**运营商---中国移动**/
	public static final String OPERATOR_CHINAMOBILE="中国移动";
	/**运营商---中国联通**/
	public static final String OPERATOR_UNICOM = "中国联通";
	/**运营商---中国电信**/
	public static final String OPERATOR_TELECOM="中国电信";
	
	/**短信状态---正在发送**/
	public static final String SMS_SENDING = "0";
	/**短信状态---发送成功**/
	public static final String SMS_SUCCESS = "1";
	/**短信状态---发送失败**/
	public static final String SMS_FAIL = "2";
	/**定时短信状态---准备**/
	public static final String SMS_TIMER_PRE = "0";
	/**定时短信状态---发送**/
	public static final String SMS_TIMER_SEND = "1";
	
	/** 薪酬发放状态--编辑 **/
	public static final String PAYROLL_EDIT="1";
	/** 薪酬发放状态--发放 **/
	public static final String PAYROLL_ISSUE="2";
	/** 薪酬发放状态--完成**/
	public static final String PAYROLL_FINISH="3";
	
	/** 任务状态--等待 **/
	public static final String TASK_WAIT = "0";
	/** 任务状态--执行中 **/
	public static final String TASK_EXECUTE= "1";
	/** 任务状态--审核**/
	public static final String TASK_AUDITING="2";
	/** 任务状态--审核通过**/
	public static final String TASK_PASS="3";
	/** 任务状态--打回 **/
	public static final String TASK_NOTPASS="4";
	
	/** 会议状态--暂存 **/
	public static final String MEET_TEMP = "1";
	/** 会议状态--待开 **/
	public static final String MEET_WAITING= "2";
	/** 会议状态--已结束**/
	public static final String MEET_END="3";
	/** 会议状态--已删除**/
	public static final String MEET_DELETE="4";
	/** 会议状态--已取消**/
	public static final String MEET_CANCEL="5";
	
	/** 点评--主送人/审核人可见 **/
	public static final String CRITIQUE_LEVEL_1 = "0";
	/** 点评--主送人/审核人和点评人可见 **/
	public static final String CRITIQUE_LEVEL_2 = "1";
	/** 点评--所有人可见 **/
	public static final String CRITIQUE_LEVEL_3 = "2";
	
	/** 工作计划--日计划 **/
	public static final String JOBPLAN_DAILYPLAN = "日计划";
	/** 工作计划--周计划 **/
	public static final String JOBPLAN_WEEKLYPLAN = "周计划";
	/** 工作计划--月计划 **/
	public static final String JOBPLAN_MONTHLYPLAN = "月计划";
	/** 工作计划--任意期计划 **/
	public static final String JOBPLAN_WILFULLYPLAN = "任意期计划";
	
	/** 会议状态--准备 **/
	public static final String SYNOD_FITOUT="1";
	/** 会议状态--记录 **/
	public static final String SYNOD_RECORD="2";
	/** 会议状态--完成 **/
	public static final String SYNOD_END="3";
	
	/** 通知状态--未读 **/
	public static final String NOTICE_UNREAD="0";
	/** 通知状态--已读 **/
	public static final String NOTICE_READED="1";
	
	
	/** 备忘录--未处理 **/
	public static final String MEMO_NOTDEAL="1";
	/** 备忘录--处理 **/
	public static final String MEMO_DEAL="2";

	public static final Integer SIGN_DRAFT = 0;// 草稿
	public static final Integer SIGN_FORMAL = 1;// 正式的
	public static final Integer SIGN_TRASH = 4;// 垃圾

	public static final int WORKFLOW_STARTNODE = 1;// 开始结点
	public static final int WORKFLOW_NODE = 2;// 结点
	public static final int WORKFLOW_FORKNODE = 3;// 分支结点
	public static final int WORKFLOW_JOINNODE = 4;// 聚合结合
	public static final int WORKFLOW_ENDNODE = 5;// 结束结点

	public static final int WORKFLOWSTATE_DISABLE = 0;// 禁用
	public static final int WORKFLOWSTATE_ENABLE = 1;// 启用
	
	/**
	 * 采购单状态
	 */
	public static final int PURCHASE_PROCESS_A=0;//未处理
	public static final int PURCHASE_PROCESS_B=2;//已处理
	public static final int PURCHASEORDERPASS=2;
	public static final int COMPELETEPURCHASE=3;//完成

	/**
	 * 流程审批通过计算方式
	 */
	/* 所有人通过 */
	public static final int FLOWINSTANCEPROCESS_TYPE_ALL = 1;
	/* 单人通过 */
	public static final int FLOWINSTANCEPROCESS_TYPE_SINGLE = 2;
	/* 按最小通过权值来确定 */
	public static final int FLOWINSTANCEPROCESS_TYPE_WEIGHT = 4;
	/* 负责人通过 */
	public static final int FLOWINSTANCEPROCESS_TYPE_PRINCIPAL = 8;
	public static final int FLOWINSTANCEPROCESS_TYPE_DEFAULT = FLOWINSTANCEPROCESS_TYPE_PRINCIPAL;

	public static final int PROJECT_TASK_RESULT_SUCCESS = 1;// 成功
	public static final int PROJECT_TASK_RESULT_FAULT = 2;// 失败


	/**
	 * 流程责任人类型
	 */
	public static final int FLOW_RESPONSIBLETYPE_PERSON = 1;// 指定人员
	public static final int FLOW_RESPONSIBLETYPE_DEPTROLE = 2;// 部门下的角色
	public static final int FLOW_RESPONSIBLETYPE_DEFAULT = FLOW_RESPONSIBLETYPE_PERSON;// 默认责任人类型

	/**
	 * 流程运行状态
	 */
	public static final int WORKFLOWPROCESS_STATE_INIT = 0;// 初始化
	public static final int WORKFLOWPROCESS_STATE_PROCESS = 1;// 运行中
	public static final int WORKFLOWPROCESS_STATE_OVERDUE = 2;
	public static final int WORKFLOWPROCESS_STATE_END = 3;// 结束

	/**
	 * 流程审核结果状态
	 */
	public static final int WORKFLOWPROCESS_RESULT_NULL = 0;//初始
	public static final int WORKFLOWPROCESS_RESULT_PASS = 1;// 通过
	public static final int WORKFLOWPROCESS_RESULT_OVERTIME = 2;// 超时过期
	public static final int WORKFLOWPROCESS_RESULT_INVALID = 3;// 无效
	public static final int WORKFLOWPROCESS_RESULT_NOTPASS = 4;// 未通过
	/**
	 * 流程实体状态
	 */
	public static final int WORKFLOWENTITY_STATE_INIT = 0;// 初始化
	public static final int WORKFLOWENTITY_STATE_PROCESS = 1;// 审核中
	public static final int WORKFLOWENTITY_STATE_VALID = 2;// 审核通过
	public static final int WORKFLOWENTITY_STATE_INVALID = 3;// 审核不通过
	public static final int WORKFLOWENTITY_STATE_NOT = 4;// 没有审核
	
	/**
	 * 任务反馈周期
	 */
	public static final int PROJECT_CYCLETIMETYPE_DAY = 1;//天
	public static final int PROJECT_CYCLETIMETYPE_WEEK = 7;//周
	public static final int PROJECT_CYCLETIMETYPE_MONTH = 30;//月
	
	/**
	 * 项目状态
	 */
	public static final int PROJECT_STATUS_PROCESS = 1;
	public static final int PROJECT_STATUS_END = 2;
	public static final  int PROJECT_STATUS_FROST = 3;//冻结
	
	/**
	 * 项目下任务状态
	 */
	public static final int TASK_STATUS_PROCESS = 1;
	public static final int TASK_STATUS_END = 2;
	public static final int TASK_STATUS_FROST = 3;//冻结
	
	public static final int TASK_GRADE_MAJOR=1;//重要不紧急
	public static final int TASK_GRADE_CRASH=2;//紧急不重要
	public static final int TASK_GRADE_MAJORCRASH=3;//紧急且重要
	public static final int TASK_GRADE_NO=4;//不紧急不重要
	
	/** 任务级别--重要且紧急 **/
	public static final String TASK_LEVEL_MAJORCRASH = "重要且紧急";
	/** 任务级别--重要不紧急 **/
	public static final String TASK_LEVEL_MAJOR = "重要不紧急";
	/** 任务级别--紧急不重要 **/
	public static final String TASK_LEVEL_CRASH = "紧急不重要";
	/** 任务级别--不紧急不重要 **/
	public static final String TASK_LEVEL_OTHER = "不紧急不重要";
	
	/**
	 * FORMField字段显示
	 */
	public static final int FORMFIELD_GRIDSHOW = 1;
	public static final int FORMFIELD_QUERYFIELD = 2;
	
	/**
	 * FieldUI类型
	 */
	public static final int FIELDUI_INPUT = 1;
	public static final int FIELDUI_CHOOSE = 2;
	
	/**
	 * 报表图形类型
	 * */
	public static final int REPORT_PIECHART = 1;
	public static final int REPORT_BARCHART = 2;
	
	
	/**
	 * 任务转发状态
	 */
	public static final int TASKTRANSMIT_STATE_INIT = 1;//初始
	public static final int TASKTRANSMIT_STATE_VALID = 2;//生效 
	public static final int TASKTRANSMIT_STATE_INVALID = 3;//无效
	
	/**
	 * 任务传阅
	 */
	public static final int TASKPERUSAL_STATE_INIT = 1;//初始
	public static final int TASKPERUSAL_STATE_VALID = 2;//生效 
	public static final int TASKPERUSAL_STATE_INVALID = 3;//无效
	
	/**
	 * 日志类型
	 * @return
	 */
	public static final int LOGTYPE_ADD = 1;//增加
	public static final int LOGTYPE_UPDATE = 2;//修改 
	public static final int LOGTYPE_REMOVE = 3;//删除
	
	/**
	 * MailItem状态
	 */
	public static final int MAILITEMTYPE_IN = 1;//收件
	public static final int MAILITEMTYPE_SEND = 2;//发件
	
	
	/**
	 * 邮件阅读状态
	 * @return
	 */
	public static final int MAILITEMREAD_SEEN = 1;//已读
	public static final int MAILITEMREAD_NO =0;//未读
	
	/**
	 * 附件存储地
	 * @return
	 */
	public static final int ATTACHMENTTYPE_VISUALHOST = 1;//位于WEB的虚拟目录
	public static final int ATTACHMENTTYPE_DISK = 2;//位于磁盘
	
	public  Map<String,String> getTaskGrades()
	{
		Map<String,String> map = new HashMap<String,String>();
		map.put(String.valueOf(TASK_GRADE_MAJOR), "重要不紧急");
		map.put(String.valueOf(TASK_GRADE_CRASH), "紧急不重要");
		map.put(String.valueOf(TASK_GRADE_MAJORCRASH), "紧急且重要");
		map.put(String.valueOf(TASK_GRADE_NO), "不紧急不重要");
		return map;
	}
	
	/**
	 * 获取流程实例化的通过类型
	 * 
	 * @return
	 */
	public Map<String, Integer> getFlowInstanceProcessTypes() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("all", FLOWINSTANCEPROCESS_TYPE_ALL);
		map.put("single", FLOWINSTANCEPROCESS_TYPE_SINGLE);
		map.put("weight", FLOWINSTANCEPROCESS_TYPE_WEIGHT);
		map.put("principal", FLOWINSTANCEPROCESS_TYPE_PRINCIPAL);
		return map;
	}

	/**
	 * 获取项目提交周期 
	 */
	public Map<String,String> getCycleTimeTypes()
	{
		Map<String,String> map = new HashMap<String,String>();
		map.put(String.valueOf(PROJECT_CYCLETIMETYPE_DAY), "天");
		map.put(String.valueOf(PROJECT_CYCLETIMETYPE_WEEK), "周");
		map.put(String.valueOf(PROJECT_CYCLETIMETYPE_MONTH), "月");
		return map;
	}
	
	/**
	 * 获TASK的所有状态
	 * 
	 * @return
	 */
	public Map<String, Integer> getTaskStatus() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("process", TASK_STATUS_PROCESS);
		map.put("end", TASK_STATUS_END);
		return map;
	}
	
	/**
	 * 获Project的所有状态
	 * 
	 * @return
	 */
	public Map<String, Integer> getProjectStatus() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("process", PROJECT_STATUS_PROCESS);
		map.put("frost", PROJECT_STATUS_FROST);
		map.put("end", PROJECT_STATUS_END);
		return map;
	}

	/**
	 * 获取流程经手人类型
	 * 
	 * @return
	 */
	public Map<String, Integer> getFlowResponsibleTypes() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("person", FLOW_RESPONSIBLETYPE_PERSON);
		map.put("deptrole", FLOW_RESPONSIBLETYPE_DEPTROLE);
		return map;
	}

	/**
	 * 获取流程的所有状态
	 * 
	 * @return
	 */
	public Map<String, Integer> getFlowProcessStatus() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("init", WORKFLOWPROCESS_STATE_INIT);
		map.put("process", WORKFLOWPROCESS_STATE_PROCESS);
		map.put("end", WORKFLOWPROCESS_STATE_END);
		return map;
	}

	/**
	 * 获取流程的结果
	 * 
	 * @return
	 */
	public Map<String, Integer> getFlowResults() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("pass", WORKFLOWPROCESS_RESULT_PASS);
		map.put("overtime", WORKFLOWPROCESS_RESULT_OVERTIME);
		map.put("invalid", WORKFLOWPROCESS_RESULT_INVALID);
		map.put("notpass", WORKFLOWPROCESS_RESULT_NOTPASS);
		return map;
	}

	/**
	 * 获取流程实体的流程状态
	 */
	public Map<String, Integer> getFlowEntityStatus() {
		Map<String, Integer> map = new HashMap<String, Integer>();
		map.put("init", WORKFLOWENTITY_STATE_INIT);
		map.put("process", WORKFLOWENTITY_STATE_PROCESS);
		map.put("valid", WORKFLOWENTITY_STATE_VALID);
		map.put("invalid", WORKFLOWENTITY_STATE_INVALID);
		map.put("not", WORKFLOWENTITY_STATE_NOT);
		return map;
	}
	public Map<String,String> getFormFieldUITypes()
	{
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(FIELDUI_INPUT), "输入框");
		map.put(String.valueOf(FIELDUI_CHOOSE), "单选框");
		return map;
	}
	public Map<String,String> getFormFieldTypes()
	{
		Map<String, String> map = new HashMap<String, String>();
		map.put("int", "整型");
		map.put("double", "浮点数");
		map.put("java.lang.String", "字符串");
		map.put("java.util.Date", "日期");
		return map;
	}
	
	public Map<String,String> getTaskTransmitStatus()
	{
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(TASKTRANSMIT_STATE_INIT), "初始");
		map.put(String.valueOf(TASKTRANSMIT_STATE_VALID), "生效");
		map.put(String.valueOf(TASKTRANSMIT_STATE_INVALID), "打回");
		return map;
	}
	

	public Map<String,String> getTaskPerusalStatus()
	{
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(TASKPERUSAL_STATE_INIT), "初始");
		map.put(String.valueOf(TASKPERUSAL_STATE_VALID), "生效");
		map.put(String.valueOf(TASKPERUSAL_STATE_INVALID), "打回");
		return map;
	}

	
	/**
	 * 项目任务状态
	 * */
	public static Map<String, String> getReportProjectTaskStatus(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("0", "初始");
		map.put("1", "审核中");
		map.put("2", "已审核");
		map.put("3", "打回");
		map.put("4", "无审核");
		map.put("null", "暂无");
		return map;
	}
	/**
	 * 项目状态
	 * */
	public static Map<String, String> getReportProjectStatus(){
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(PROJECT_STATUS_PROCESS), "进行中");
		map.put(String.valueOf(PROJECT_STATUS_END), "结束");
		map.put(String.valueOf("PROJECT_STATUS_FROST"), "冻结");
		return map;
	}
	/**
	 * 请假审核状态
	 * */
	public static Map<String, String> getReportLeaveStatus(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("2", "审核");
		map.put("3", "通过");
		map.put("4", "打回");
		return map;
	}
	
	/**
	 * 日程审核状态
	 * */
	public static Map<String, String> getReportScheduleStatus(){
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(TASK_EXECUTE), "执行中");
		map.put(String.valueOf(TASK_AUDITING), "审核");
		map.put(String.valueOf(TASK_PASS), "审核通过");
		map.put(String.valueOf(TASK_NOTPASS), "打回");
		return map;
	}
	
	/**
	 * 工作任务状态
	 * */
	public static Map<String, String> getReportTaskStatus(){
		Map<String, String> map = new HashMap<String, String>();
		map.put(String.valueOf(TASK_EXECUTE), "执行");
		map.put(String.valueOf(TASK_AUDITING), "审核");
		map.put(String.valueOf(TASK_PASS), "完成");
		map.put(String.valueOf(TASK_NOTPASS), "打回");
		return map;
	}
	/**
	 * 工作计划状态
	 * **/
	public static Map<String, String> getReportJobPlan(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("1", "执行");
		map.put("3", "完成");
		map.put("null", "暂无");
		return map;
	}
	public static Map<String, String> getReportCheck1(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("1", "按时上班");
		map.put("0", "迟到");
		return map;
	}
	public static Map<String, String> getReportCheck2(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("1", "按时下班 ");
		map.put("0", "早退");
		map.put("2", "未签退");
		return map;
	}
	public  static  String getReportDate(String recordTime){
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
		
		String date1=df.format("recordTime");

		return date1;
		
	}
	
	public static Map<String, String> getReportOrder(){
		Map<String, String> map = new HashMap<String, String>();
		map.put("null", " ");
		return map;
	}
	
   
}
